// OpenGL System Header
// (c) jimon game studio

#ifndef JEH_JEOPENGLSYSTEMHEADER
#define JEH_JEOPENGLSYSTEMHEADER

#include "Config_Engine.h"

#ifdef JE_RENDER_OPENGL

#ifdef JE_WIN
	#define WIN32_LEAN_AND_MEAN
	#include <windows.h>
	#ifdef JE_RENDER_OPENGL_SUPPORT_OPENGL3
	#include "gl3.h"
	#else
	#include <gl\gl.h>
	#include "glext.h"
	#endif
	#include "wglext.h"
	#pragma comment(lib,"opengl32.lib")
#endif

#ifdef JE_LINUX
	#ifdef JE_RENDER_OPENGL_SUPPORT_OPENGL3
	#include "GL/gl3.h"
	#else
	#include <GL/gl.h>
	#endif
	#include <GL/glu.h>
	#include <GL/glx.h>
#endif

#endif

#endif
